Trò chơi Tic-Tac-Toe, game đánh caro full source code
53.548 lượt xem;
- PhotonTransformViewRotationModel.cs
- Views /
- PhotonNetwork /
- Plugins /
- Photon Unity Networking /
- Assets /
- project /
1 using UnityEngine;
2 using System.Collections;
3
4 [System.Serializable]
5 public class PhotonTransformViewRotationModel
6 {
7 public enum InterpolateOptions
8 {
9 Disabled,
10 RotateTowards,
11 Lerp,
12 }
13
14 public bool SynchronizeEnabled;
15
16 public InterpolateOptions InterpolateOption = InterpolateOptions.RotateTowards;
17 public float InterpolateRotateTowardsSpeed = 180;
18 public float InterpolateLerpSpeed = 5;
19 }
2 using System.Collections;
3
4 [System.Serializable]
5 public class PhotonTransformViewRotationModel
6 {
7 public enum InterpolateOptions
8 {
9 Disabled,
10 RotateTowards,
11 Lerp,
12 }
13
14 public bool SynchronizeEnabled;
15
16 public InterpolateOptions InterpolateOption = InterpolateOptions.RotateTowards;
17 public float InterpolateRotateTowardsSpeed = 180;
18 public float InterpolateLerpSpeed = 5;
19 }